#ifndef GLASSSHADER_H
#define GLASSSHADER_H

#include "baseshader.h"
#include <QMatrix4x4>
#include "data.h"
#include <QOpenGLTexture>

class GlassShader : public BaseShader
{
    Q_OBJECT
public:
    GlassShader(QObject *parent = Q_NULLPTR);
    virtual void initializeGL();
    virtual void paintGL();

//    float vertices[288];
    QMatrix4x4 projection;
    QMatrix4x4 view;
    QMatrix4x4 model;

private:
    GLuint aPos;
    GLuint aNormal;
    GLuint aTexCoords;

    GLuint vao;
    GLuint vbo;

    QOpenGLTexture* texture;
};

#endif // GLASSSHADER_H
